<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">

    <title> 牛魔IP代理后台</title>

    <meta name="keywords" content="">
    <meta name="description" content="">

    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->

    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <style>
        #balance{
            width: 160px;
            float: left;
            margin-left: 5%;
            margin-top: 10px;
            font-size: 17px;
            display: inline-block;
            /*border: 1px solid red;*/
            /*color:red;*/
        }
        #name{
            width: 160px;
            float: left;
            margin-left: 1%;
            margin-top: 10px;
            font-size: 17px;
            display: inline-block;
            /*border: 1px solid red;*/
            /*color:red;*/
        }
    </style>
</head>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close"><i class="fa fa-times-circle"></i>
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                                    <span class="block m-t-xs" style="font-size:20px;">
                                        <img src="/img/niumo.png" width="50px;" alt="">
                                        <strong class="font-bold">牛魔科技</strong>
                                    </span>
                                </span>
                        </a>
                    </div>
                    <div class="logo-element">hAdmin
                    </div>
                </li>
                <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
                    <span class="ng-scope">分类</span>
                </li>
                <li>
                    <a class="J_menuItem" href="/index">
                        <i class="fa fa-home"></i>
                        <span class="nav-label">主页</span>
                    </a>
                </li>
                <li>
                    <a class="J_menuItem" href="/account">
                        <i class="fa fa-building"></i>
                        <span class="nav-label">账号</span>
                    </a>
                </li>
                <li>
                    <a class="J_menuItem" href="/bill">
                        <i class="fa fa-building"></i>
                        <span class="nav-label">账单</span>
                    </a>
                </li>
                <li>
                    <a class="J_menuItem" href="/online">
                        <i class="fa fa-building"></i>
                        <span class="nav-label">在线连接数</span>
                    </a>
                </li>
                <?php if(Session::get('MEMBER_INFO')['level'] ==2): ?>

                    <li>
                        <a href="#">
                            <i class="fa fa fa-bar-chart-o"></i>
                            <span class="nav-label">客服</span>
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
                            <li>
                                <a class="J_menuItem" href="/onlineteam">客服列表</a>
                            </li>
                            <li>
                                <a class="J_menuItem" href="/onlineteamdatalist">客服数据</a>
                            </li>
                        </ul>
                    </li>
                <?php endif; ?>

                <?php if(Session::get('MEMBER_INFO')['level'] ==3): ?>
                    <li>
                        <a class="J_menuItem" href="/onlineTeamInfo">
                        <i class="fa fa-building"></i>
                        <span class="nav-label">客服</span>
                        </a>
                    </li>
                <?php endif; ?>

                <li>
                    <a class="J_menuItem" href="/admin">
                        <i class="fa fa-building"></i>
                        <span class="nav-label">管理员</span>
                    </a>
                </li>

                <li>
                    <a class="J_menuItem" href="/sort">
                        <i class="fa fa-building"></i>
                        <span class="nav-label">管理员</span>
                    </a>
                </li>
                <?php /*<li>*/ ?>
                    <?php /*<a href="#">*/ ?>
                        <?php /*<i class="fa fa fa-bar-chart-o"></i>*/ ?>
                        <?php /*<span class="nav-label">统计图表</span>*/ ?>
                        <?php /*<span class="fa arrow"></span>*/ ?>
                    <?php /*</a>*/ ?>
                    <?php /*<ul class="nav nav-second-level">*/ ?>
                        <?php /*<li>*/ ?>
                            <?php /*<a class="J_menuItem" href="graph_echarts.html">百度ECharts</a>*/ ?>
                        <?php /*</li>*/ ?>
                        <?php /*<li>*/ ?>
                            <?php /*<a class="J_menuItem" href="graph_flot.html">Flot</a>*/ ?>
                        <?php /*</li>*/ ?>
                        <?php /*<li>*/ ?>
                            <?php /*<a class="J_menuItem" href="graph_morris.html">Morris.js</a>*/ ?>
                        <?php /*</li>*/ ?>
                        <?php /*<li>*/ ?>
                            <?php /*<a class="J_menuItem" href="graph_rickshaw.html">Rickshaw</a>*/ ?>
                        <?php /*</li>*/ ?>
                        <?php /*<li>*/ ?>
                            <?php /*<a class="J_menuItem" href="graph_peity.html">Peity</a>*/ ?>
                        <?php /*</li>*/ ?>
                        <?php /*<li>*/ ?>
                            <?php /*<a class="J_menuItem" href="graph_sparkline.html">Sparkline</a>*/ ?>
                        <?php /*</li>*/ ?>
                        <?php /*<li>*/ ?>
                            <?php /*<a class="J_menuItem" href="graph_metrics.html">图表组合</a>*/ ?>
                        <?php /*</li>*/ ?>
                    <?php /*</ul>*/ ?>
                <?php /*</li>*/ ?>

                <?php /*<li>*/ ?>
                    <?php /*<a href="#"><i class="fa fa-picture-o"></i> <span class="nav-label">相册</span><span class="fa arrow"></span></a>*/ ?>
                    <?php /*<ul class="nav nav-second-level">*/ ?>
                        <?php /*<li><a class="J_menuItem" href="basic_gallery.html">基本图库</a>*/ ?>
                        <?php /*</li>*/ ?>
                        <?php /*<li><a class="J_menuItem" href="carousel.html">图片切换</a>*/ ?>
                        <?php /*</li>*/ ?>
                        <?php /*<li><a class="J_menuItem" href="blueimp.html">Blueimp相册</a>*/ ?>
                        <?php /*</li>*/ ?>
                    <?php /*</ul>*/ ?>
                <?php /*</li>*/ ?>
                <?php /*<li>*/ ?>
                    <?php /*<a class="J_menuItem" href="css_animation.html"><i class="fa fa-magic"></i> <span class="nav-label">CSS动画</span></a>*/ ?>
                <?php /*</li>*/ ?>
                <?php /*<li>*/ ?>
                    <?php /*<a href="#"><i class="fa fa-cutlery"></i> <span class="nav-label">工具 </span><span class="fa arrow"></span></a>*/ ?>
                    <?php /*<ul class="nav nav-second-level">*/ ?>
                        <?php /*<li><a class="J_menuItem" href="form_builder.html">表单构建器</a>*/ ?>
                        <?php /*</li>*/ ?>
                    <?php /*</ul>*/ ?>
                <?php /*</li>*/ ?>

            </ul>
        </div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">

                <span id="name">welcome~~~~~ &nbsp;&nbsp;<?php echo e($data['info']['username']); ?></span>

                <span id="balance">余额 : &nbsp;&nbsp;<?php echo e($data['info']['balance']); ?></span>
                <a class="btn btn-success btn-outline" href="/logout" style="float:right;margin-right:20px;margin-top:10px;">
                    <i class="fa fa-paper-plane"> </i> 退出
                </a>
            </nav>
        </div>
        <div class="row J_mainContent" id="content-main">
            <iframe id="J_iframe" width="100%" height="100%" src="/index" frameborder="0" seamless></iframe>
        </div>
    </div>
    <!--右侧部分结束-->
</div>

<!-- 全局js -->
<script src="/js/jquery.min.js?v=2.1.4"></script>
<script src="/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="/js/plugins/layer/layer.min.js"></script>

<!-- 自定义js -->
<script src="/js/hAdmin.js?v=4.1.0"></script>
<script type="text/javascript" src="/js/index.js"></script>

<!-- 第三方插件 -->

</body>

</html>
